<?php
class MainNavMethod extends RestMethod {
	/* (non-PHPdoc)
	 * @see RestMethod::runInternal()
	 */
	function runInternal() {
		$c = Yii::app();
		return array(
			array(
				'name' => '首页',
				'link' => $c->createUrl('/'),
			),
			array(
				'name' => '旅游路线',
				'link' => $c->createUrl('/provide/channel/tourIndex'),
			),
			array(
				'name' => '自驾游',
				'link' => $c->createUrl('/provide/channel/zjyIndex'),
			),
			array(
				'name' => '酒店客房',
				'link' => $c->createUrl('/provide/channel/hotelIndex'),
			),
			array(
				'name' => '景区门票',
				'link' => $c->createUrl('/provide/channel/scenicIndex'),
			),
			array(
				'name' => '机票',
				'link' => $c->createUrl('/provide/channel/ticketIndex'),
			),
			array(
				'name' => '土特产',
				'link' => $c->createUrl('/provide/channel/nativeIndex'),
			),
			array(
				'name' => '论坛',
				'link' => $c->createUrl('/provide/channel/tourIndex'),
			),
		);
	}

	
}